잠시만 기다려 주세요

     '이태원 핼러윈 참사.. 150명 넘게 죽었는데 눈치나 보며 아무것도 안 하는 민주당을 규탄한다. 총선 보이콧... 문재인 시즌2 는 절대 금지다...'
전체검색 :  
이번주 로또 및 연금번호 발생!!   |  HOME   |  여기는?   |  바다물때표   |  알림 (16)  |  여러가지 팁 (1054)  |  추천 및 재미 (150)  |  자료실 (22)  |  
시사, 이슈, 칼럼, 평론, 비평 (584)  |  끄적거림 (127)  |  문예 창작 (703)  |  바람 따라 (69)  |  시나리오 (760)  |  드라마 대본 (248)  |  
살인!


    리눅스 서버

리눅스 서버 - 각 운영체제별 서버 네트워크 아이피 설정, 랜카드 아이피 세팅, 설정
이 름 : 바다아이   |   조회수 : 7317         짧은 주소 : https://www.bada-ie.com/su/?211591784089
아래는 제 서버 아이피 기준으로 작성된 겁니다.
자신의 서버 아이피에 맞게 고치시면 되겠습니다.

 
Location: New Jersey
Main IP Address: 207.246.87.123


Important Information

  • In most cases, you should not need to adjust these files. Instances are normally configured using DHCP. You only really need to change these files if you are trying to enable additional IPs.
  • Changing to the examples below will cause problems if you take a snapshot of an instance and restore it. We recommend reverting back to DHCP before taking a snapshot.
  • You must restart your server via the control panel after adding extra IPs.

FreeBSD 10.x, FreeBSD 11.x, FreeBSD 12.x

Populate the /etc/rc.conf file with the following text.
static_routes="linklocal"
route_linklocal="-net 169.254.0.0/16 -interface vtnet0"
ifconfig_vtnet0="inet 207.246.87.123 netmask 255.255.254.0"
defaultrouter="207.246.86.1"


Reboot the system.
reboot

CentOS 6, CentOS 7

Populate the /etc/sysconfig/network-scripts/ifcfg-eth0 file with the following text.
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=207.246.87.123
NETMASK=255.255.254.0
GATEWAY=207.246.86.1
DNS1=108.61.10.10

Populate the /etc/sysconfig/network-scripts/route-eth0 file with the following text.
169.254.0.0/16 dev eth0
Restart networking or reboot.
service network restart

Debian 7, Debian 8

Populate the /etc/network/interfaces file with the following text.
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
	address 207.246.87.123
	netmask 255.255.254.0
	gateway 207.246.86.1
	dns-nameservers 108.61.10.10
	post-up ip route add 169.254.0.0/16 dev eth0


Restart networking or reboot.
systemctl restart networking.service

Debian 9

Populate the /etc/network/interfaces file with the following text.
auto lo
iface lo inet loopback

auto ens3
iface ens3 inet static
	address 207.246.87.123
	netmask 255.255.254.0
	gateway 207.246.86.1
	dns-nameservers 108.61.10.10
	post-up ip route add 169.254.0.0/16 dev ens3


Restart networking or reboot.
systemctl restart networking.service

Fedora 24 - 28

Populate the /etc/sysconfig/network-scripts/ifcfg-ens3 file with the following text.
DEVICE=ens3
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
NOZEROCONF=yes
IPADDR=207.246.87.123
NETMASK=255.255.254.0
GATEWAY=207.246.86.1
DNS1=108.61.10.10

Populate the /etc/sysconfig/network-scripts/route-ens3 file with the following text.
169.254.0.0/16 dev ens3
Restart networking or reboot.
systemctl restart network.service

Fedora 29

Run the following commands to configure the public network.

nmcli con add con-name public-net ifname ens3 type ethernet ipv4.method 'manual' ipv4.addresses '207.246.87.123/23' ipv4.gateway '207.246.86.1' ipv4.dns ''
nmcli con mod public-net +ipv4.dns '108.61.10.10'

OpenBSD 6.0 - OpenBSD 6.2

Populate the /etc/mygate file with the following text.
207.246.86.1
Populate the /etc/hostname.vio0 file with the following text.
inet 207.246.87.123 255.255.254.0 NONE
Populate the /etc/resolv.conf file with the following text.
nameserver 108.61.10.10
lookup file bind
Reboot the system.
reboot

OpenBSD 6.3, OpenBSD 6.4

Populate the /etc/mygate file with the following text.
207.246.86.1
Populate the /etc/hostname.vio0 file with the following text.
inet 207.246.87.123 255.255.254.0 NONE
Populate the /etc/resolv.conf file with the following text.
nameserver 108.61.10.10
lookup file bind
Reboot the system.
reboot

Ubuntu 12.xx - Ubuntu 15.xx

Populate the /etc/network/interfaces file with the following text.
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
	address 207.246.87.123
	netmask 255.255.254.0
	gateway 207.246.86.1
	dns-nameservers 108.61.10.10
	post-up ip route add 169.254.0.0/16 dev eth0


Start each interface or reboot the system.
ifup eth0

Ubuntu 16.xx, Ubuntu 17.04

Populate the /etc/network/interfaces file with the following text.
auto lo
iface lo inet loopback

auto ens3
iface ens3 inet static
	address 207.246.87.123
	netmask 255.255.254.0
	gateway 207.246.86.1
	dns-nameservers 108.61.10.10
	post-up ip route add 169.254.0.0/16 dev ens3


Start each interface or reboot the system.
ifup ens3

Ubuntu 17.10, Ubuntu 18.xx

Populate the /etc/netplan/10-ens3.yaml file with the following text.
network:
  version: 2
  renderer: networkd
  ethernets:
    ens3:
      dhcp4: no
      addresses: [207.246.87.123/23]
      gateway4: 207.246.86.1
      nameservers:
        addresses: [108.61.10.10]
      routes:
      - to: 169.254.0.0/16
        via: 207.246.86.1
        metric: 100
Update networking or reboot.
netplan apply

Windows Server 2012 R2, Windows Server 2016

To configure the main IPv4 manually:
  1. Open the windows control panel. You can access it from the start menu.
  2. Click "Network and Internet".
  3. Click "Network and Sharing Center".
  4. Click "Change adapter settings".
  5. Right click on the primary ethernet adapter, and click "Properties". The "Ethernet Properties" window will open.
  6. Select "Internet Protocol Version 4 (TCP/IPv4)", then click the "Properties" button. The "Internet Protocol Version 4 (TCP/IPv4) Properties" window will open.
  7. Check the box that reads "Use the following IP address:". Populate the fields:
    • IP address: 207.246.87.123
    • Subnet mask: 255.255.254.0
    • Default gateway: 207.246.86.1
  8. Check the box that reads "Use the following DNS server addresses:". Populate the fields
    • Preferred DNS server: 108.61.10.10
    • Alternate DNS server: (blank)
  9. Click "OK". Then click "OK" on the "Ethernet Properties" window. The main IPv4 has been configured manually. Note that it is normal for the connection to hiccup after pressing "OK".


출처 : vultr.com
 
| |





      1 page / 5 page
번 호 카테고리 제 목 이름 조회수
148 리눅스 서버 samba ... , ... 바다아이 127
147 리눅스 서버 postfix main.cf ... 바다아이 3024
146 리눅스 서버 /etc/crontab ... 바다아이 1821
145 리눅스 서버 - MEMTEST, , 바다아이 2779
144 리눅스 서버 top , top 바다아이 3630
143 리눅스 서버 , systemd-networkd, archlinux network setting 바다아이 4539
142 리눅스 서버 mirror .. ... 바다아이 4967
141 리눅스 서버 [Ubuntu] (swapfile) , ... 바다아이 4961
140 리눅스 서버 ufw , iptables 바다아이 6324
139 리눅스 서버 ... grub . submenu, grub-mkconfig 바다아이 5214
138 리눅스 서버 CentOS 7 Upgrade Kernel, centos 바다아이 6771
137 리눅스 서버 , dd , 바다아이 5049
136 리눅스 서버 ... ntp .. ... 바다아이 6134
135 리눅스 서버 archlinux netstat , netstat ... 바다아이 5897
134 리눅스 서버 ps , ps option 바다아이 5634
133 리눅스 서버 , swap , ... swap . 바다아이 5807
132 리눅스 서버 crontab , .... 바다아이 5836
131 리눅스 서버 ssh , ssh 바다아이 6894
130 리눅스 서버 SSH SSH , ssh-keygen rsa 바다아이 6362
129 리눅스 서버 , date : () , () , 바다아이 6640
128 리눅스 서버 aws lightsail, ssh .. .pem 바다아이 11629
127 리눅스 서버 , ubuntu generic kernel 바다아이 7064
126 리눅스 서버 .. apt ... 바다아이 6960
125 리눅스 서버 ... ubuntu kernel compile 바다아이 9205
124 리눅스 서버 nginx http2 , . 바다아이 8414
123 리눅스 서버 psql libreadline.so.7: cannot open shared object file: No such file or directory 바다아이 8716
122 리눅스 서버 ssh .bashrc , bash .. .bash_profile 바다아이 8100
현재글 리눅스 서버 , , 바다아이 7318
120 리눅스 서버 rc.local ... , 바다아이 8008
119 리눅스 서버 ? - IPv4 Subnetting, (Subnet Mask) 바다아이 7716
| |









Copyright ⓒ 2001.12. bada-ie.com. All rights reserved.
이 사이트는 리눅스에서 firefox 기준으로 작성되었습니다. 기타 브라우저에서는 다르게 보일 수 있습니다.
[ Ubuntu + GoLang + PostgreSQL + Mariadb ]
서버위치 : 오라클 클라우드 춘천  실행시간 : 0.06494
to webmaster... gogo sea. gogo sea.